#!/bin/bash
PACKAGE=$(pwd | sed 's/\//\./g' | sed 's/^.*\.de\./de\./g')
for i in $(ls *.java)
do
	echo "<class>$PACKAGE.$i</class>" | sed 's/\.java//g'
done

echo
echo "<property name=\"annotatedClasses\">"
echo "<list>"
for i in $(ls *.java)
do
        echo "<value>$PACKAGE.$i</value>" | sed 's/\.java//g'
done
echo "</list>"
echo "</property>"
